<ion-view class="bg">
  <ion-header-bar class="bar bar-positive">
    <h3 class="title">我的</h3>
  </ion-header-bar>
  <ion-content>
    <div class="account">
      <div class="information">
        <img src="img/my.png">
        <label>
          <div class="name">{{cname}}</div>
          <div class="phone">{{mobile}}</div>
        </label>
      </div>
      <div class="site">
        <select class="name" id="changeDept">
          <option selected>{{deptName}}</option>
          <option ng-repeat="i in loadDepts" value="{{i.id}}">{{i.name}}</option>
        </select>
      </div>
    </div>
    <div class="white"></div>
    <ion-list class="myList">
      <li class="item" ui-sref="printSetting">
        <i class="ion-printer icon" style="color: #ff9501;"></i>
        <i class="text">打印设置</i>
        <i class="ion-chevron-right chevron-right"></i>
      </li>
      <li class="item" ui-sref="changePw">
        <i class="ion-locked icon" style="color: #65b4fd;"></i>
        <i class="text">修改密码</i>
        <i class="ion-chevron-right chevron-right"></i>
      </li>
      <div class="white"></div>
      <li class="item" ui-sref="aboutUs">
        <i class="ion-person-stalker icon" style="color: #8b94ff;"></i>
        <i class="text">关于我们</i>
        <i class="ion-chevron-right chevron-right"></i>
      </li>
      <li class="item" ui-sref="feedback">
        <i class="ion-edit icon" style="color: #7CFC00;"></i>
        <i class="text">意见反馈</i>
        <i class="ion-chevron-right chevron-right"></i>
      </li>
      <div class="white"></div>
      <li class="item" ng-click="checkAPK()">
        <i class="ion-refresh icon" style="color: #ff9501;"></i>
        <i class="text">检查更新</i>
        <i class="badge badge-assertive" ng-if="cn==1">1</i>
      </li>
      <li class="item" ng-click="exitLogin()">
        <i class="ion-power icon" style="color: #65b4fd;"></i>
        <i class="text">退出登录</i>
      </li>
    </ion-list>
  </ion-content>
</ion-view>
